example_write_radio_GPIO_pins.c File Reference

Resets Radio, configures the GPIO pins as outputs, then toggles the GPIO pins once per second. To test, monitor GPIO pins with an oscilloscope. More...

#include "../HAL/hal.h"
#include "../ZNP/znp_interface.h"



signed int znpResult
int main (void)

Detailed Description

Resets Radio, configures the GPIO pins as outputs, then toggles the GPIO pins once per second. To test, monitor GPIO pins with an oscilloscope.

The CC2530ZNP supports four General Purpose Input/Output (GPIO) pins. Pins can be individually configured as:

When configured as an output, the pin can be set, cleared, or toggled.

Note:
The GPIO pins are not exposed on the CC2530ZNP target board
See also:
http://processors.wiki.ti.com/index.php/Tutorial_on_the_Examples and http://e2e.ti.com/support/low_power_rf/default.aspx
Rev
717
Author
dsmith
Date
2010-08-19 10:50:46 -0700 (Thu, 19 Aug 2010)

YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.

 All Data Structures Files Functions Variables Defines
Generated on Thu Aug 19 11:48:40 2010 for CC2530ZNP Examples by  doxygen 1.6.3